%show statistics as a function of ROMER alpha (with normal ROMER algo)

number_of_nodes = 30;
params = ParamsSingleton.instance();

%simulation params
router_type = params.router_type_ROMER;
params.simulation_time_in_msec = 300;
params.clock_tick_delta_in_msec = 100;

params.ROMER_threshold_power = 2;
params.should_use_constant_forward_probability = true;
params.constant_forward_probability = 0.8;
params.romer_alpha = 1;

%%%%%%%%%%%%%%%%%%%%%%%%

source_node_id = 26;
dest_node_id = 13;

SingletonInitializer.create_all_singletons();

topology_file_name = ['topology_', num2str(number_of_nodes), '_nodes.mat'];
topology = Topology.read_topology_from_file(topology_file_name, router_type);

statistics = Simulator.simulate_multiple_connections(topology);

number_of_different_paths = statistics.number_of_disjoint_paths
delivery_rates = statistics.delivery_rate
network_load = statistics.avg_network_load
